4. Fakes

Spies also comes with Fakes, which is a convenience library to create fake objects. This covers some general DOM objects.